Overload | Description |
---|---|
ContainSingle(String,Object[]) | Expects the current collection to contain only a single item. |
ContainSingle(Expression<Func<T,Boolean>>,String,Object[]) | Expects the current collection to contain only a single item matching the specified predicate. |